package com.wwwarehouse.contract.common;

import android.support.annotation.Nullable;

import com.wwwarehouse.common.common.Common;
import com.wwwarehouse.contract.bean.CanSeePublishResourseBean;
import com.wwwarehouse.contract.bean.ContractChooseGoodsBean;
import com.wwwarehouse.contract.bean.ResourceItemBean;
import com.wwwarehouse.contract.bean.SelectResourseBean;

import java.util.ArrayList;
import java.util.List;

/**
 * @创建者 chenchao.
 * @创建时间 2017/9/25 19:33
 * @描述 ${TODO}
 */

public class ContractCommon {
    private static ContractCommon instance;

    // 获取单例
    public static ContractCommon getInstance() {
        synchronized (Common.class) {
            if (instance == null) {
                instance = new ContractCommon();
            }
        }

        return instance;
    }

    private List<SelectResourseBean.ListBean> mSelectToCanSeePublishList;

    public List<SelectResourseBean.ListBean> getSelectToCanSeePublishList() {
        return mSelectToCanSeePublishList;
    }

    public void setSelectToCanSeePublishList(List<SelectResourseBean.ListBean> selectToCanSeePublishList) {
        mSelectToCanSeePublishList = selectToCanSeePublishList;
    }

    private List<SelectResourseBean.ListBean> mForLocalPublishList;

    public List<SelectResourseBean.ListBean> getForLocalPublishList() {
        return mForLocalPublishList;
    }

    public void setForLocalPublishList(List<SelectResourseBean.ListBean> forLocalPublishList) {
        mForLocalPublishList = forLocalPublishList;
    }

    private List<CanSeePublishResourseBean.TempPbResourcesBean> mForTempPbResourseList;

    public List<CanSeePublishResourseBean.TempPbResourcesBean> getForTempPbResourseList() {
        return mForTempPbResourseList;
    }

    public void setForTempPbResourseList(List<CanSeePublishResourseBean.TempPbResourcesBean> forTempPbResourseList) {
        mForTempPbResourseList = forTempPbResourseList;
    }

    //未发布的总集合
    private List<SelectResourseBean.ListBean> unPublishTotalList;

    public List<SelectResourseBean.ListBean> getUnPublishTotalList() {
        return unPublishTotalList;
    }

    public void setUnPublishTotalList(List<SelectResourseBean.ListBean> unPublishTotalList) {
        this.unPublishTotalList = unPublishTotalList;
    }
    private boolean isSeleteToHistory;

    public boolean isSeleteToHistory() {
        return isSeleteToHistory;
    }

    public void setSeleteToHistory(boolean seleteToHistory) {
        isSeleteToHistory = seleteToHistory;
    }
    //发布业务关系人
    private ArrayList<String> publishObjData = new ArrayList<>();

    public ArrayList<String> getPublishObjData() {
        return publishObjData;
    }

    public void setPublishObjData(@Nullable ArrayList<String> publishObjData) {
        this.publishObjData = publishObjData;
    }
       //发布商品
    private List<ResourceItemBean.DataBean.ListBean> publishGoodsData = new ArrayList<>();

    public List<ResourceItemBean.DataBean.ListBean> getPublishGoodsData() {
        return publishGoodsData;
    }

    public void setPublishGoodsData(@Nullable List<ResourceItemBean.DataBean.ListBean> publishGoodsData) {
        this.publishGoodsData = publishGoodsData;
    }

    //修改发布商品
    private List<ContractChooseGoodsBean.ListBean> modifyPublishGoodsData = new ArrayList<>();

    public List<ContractChooseGoodsBean.ListBean> getModifyPublishGoodsData() {
        return modifyPublishGoodsData;
    }

    public void setModifyPublishGoodsData(List<ContractChooseGoodsBean.ListBean> modifyPublishGoodsData) {
        this.modifyPublishGoodsData = modifyPublishGoodsData;
    }
}
